package jgl.vajra.operator.part.login.model;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.part.login.contract.UnboundMachineBossContract;
import jgl.vajra.operator.widget.manager.RxJavaHttpManager;
import jgl.vajra.operator.widget.manager.retrofit.RetrofitJsonManager;

public class UnboundMachineBossModel extends UnboundMachineBossContract.Model{
    @Override
    public Observable<Object> bindMachineData(Map<String, Object> map) {
        return RetrofitJsonManager.getInstance().getApiService().bindMachineData(map).compose(RxJavaHttpManager.applyTransformer());
    }
}
